@import "./color";
/deep/ {
  .listing-empty {
    text-align: center;
    margin: 50px auto;
    img {
      width: 300px;
      height: 300px;
    }
    h2 {
      font-size: 16px;
      color: #909399
    }
    .back-cart-btn {

    }
  }
  .checkout-header {
    width: 100%;
    background: #fff;
    .w {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100px;
      width: 1000px;
      .logo {
        width: 260px;
        height: 60px;
      }
    }
  }

  .li-ckt-info,
  .address-li-ckt-info,
  .center-ckt-info,
  .detail-item-discount,
  .bill_btn {
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
  }

  .aliases-li-ckt-info,
  .li-ckt-pay,
  .more-collapse-ckt,
  .ckt-checkbox,
  .item-discount-inventory {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .ckt-checkbox {
    position: relative;
    display: block;
    height: 28px;
    line-height: 28px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    text-align: center;
    cursor: pointer;
    z-index: 1;
  }

  .ckt-checkbox:hover,
  .li-ckt-info.selected .ckt-checkbox,
  .ckt-checkbox.selected,
  .ckt-checkbox.editting {
    height: 26px;
    line-height: 26px;
    border: 2px solid $color-main;
  }
  .li-ckt-info.selected .ckt-checkbox,
  .ckt-checkbox.selected,
  .ckt-checkbox.editting {
    background: url("../../assets/images/icon-ckt-selected.png") no-repeat bottom right;
    background-size: 20px 20px;
  }

  .ckt-control i {
    font-style: normal;
  }

  .ckt-control .clearfix {
    clear: both;
  }

  .ckt-control .placeholder-20 {
    clear: both;
    height: 20px;
  }

  .ckt-control {
    width: 998px;
    margin: 0 auto;
    color: #666666;
    font-size: 12px;
  }

  .ckt-title {
    line-height: 42px;
    font-size: 16px;
    font-family: "Microsoft YaHei";
  }

  .ckt-content {
    border: 1px solid #f0f0f0;
    padding: 10px 20px;
    clear: both;
    background-color: #ffffff;
  }

  .ckt-item {
    border-bottom: 1px solid #ddd;
  }

  .top-ckt {
    clear: both;
    line-height: 40px;
  }

  .title-top {
    float: left;
    height: 40px;
    line-height: 40px;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
  }

  .other-top {
    float: right;
    height: 40px;
    line-height: 40px;
  }

  .other-top a {
    color: #005ea7;
  }

  .other-top a:hover {
    color: $color-main;
  }

  .center-ckt-info {
    height: 42px;
    margin: 10px 20px;
    overflow-y: auto;
  }

  .li-ckt-info {
    position: relative;
    height: 30px;
    margin: 6px 0;
    font-size: 12px;
    background-color: #ffffff;
    overflow: hidden;
  }

  .li-ckt-info:hover {
    background-color: #fff3f3;
    .operate-li-ckt-info { display: block }
  }

  .name-li-ckt-info,
  .address-li-ckt-info,
  .mobile-li-ckt-info,
  .operate-li-ckt-info {
    float: left;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
  }

  .name-li-ckt-info {
    margin-left: 155px;
    width: 90px;
    text-align: center;
  }

  .ckt-checkbox.info {
    position: absolute;
    top: 0;
    left: 0;
    width: 148px;
  }

  .ckt-checkbox.info:hover,
  .ckt-checkbox.info.selected {
    width: 146px;
  }

  .address-li-ckt-info {
    width:435px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .address-li-ckt-info.min {
    width: 330px;
  }

  .mobile-li-ckt-info {
    width: 100px;
    text-align: center;
  }

  .default-li-ckt-info {
    float: left;
    width: 60px;
    height: 20px;
    line-height: 20px;
    margin-top: 4px;
    margin-left: 10px;
    background-color: #7b7b7b;
    color: #ffffff;
    text-align: center;
  }

  .set-default-li-ckt-info {
    margin-left: 10px;
    color: #005ea7;
    line-height: 28px;
  }

  .operate-li-ckt-info {
    display: none;
    float: left;
    margin-left: 10px;
  }

  .operate-li-ckt-info a {
    margin-right: 5px;
    color: #005ea7;
    &.delete { color: $color-main }
  }

  .collapse-ckt-info {
    display: block;
    width: 70px;
    height: 30px;
    margin-left: 20px;
    line-height: 30px;
    cursor: pointer;
  }

  .collapse-ckt-info.more .icon-collapse-ckt-info {
    background: url('../../assets/images/icon-ckt-addr.png') no-repeat 0 -10px;
  }

  .icon-collapse-ckt-info {
    display: inline-block;
    vertical-align: middle;
    height: 10px;
    line-height: 10px;
    width: 9px;
    margin-left: 5px;
    background: url('../../assets/images/icon-ckt-addr.png') no-repeat 0 0;
  }

  .content-ckt-pay {
    margin: 10px 20px;
  }

  .ul-ckt-pay {
    float: left;
  }

  .ul-ckt-pay.min {
    width: 550px;
    height: 40px;
    overflow: hidden;
  }

  .ckt-checkbox.pay {
    float: left;
    width: 98px;
    margin-top: 10px;
    margin-right: 10px;
  }

  .ckt-checkbox.pay.selected,
  .ckt-checkbox.pay:hover {
    width: 96px;
  }

  .collapse-ckt-pay {
    display: none;
    float: left;
    width: 70px;
    height: 30px;
    margin-top: 10px;
    margin-left: 20px;
    line-height: 30px;
    cursor: pointer;
  }

  .collapse-ckt-pay.more {
    width: 45px;
    margin-left: 0;
  }

  .icon-collapse-ckt-pay {
    display: inline-block;
    vertical-align: middle;
    height: 10px;
    line-height: 10px;
    width: 9px;
    margin-left: 5px;
    background: url('../../assets/images/icon-ckt-pay.png') no-repeat 0 0;
  }

  .icon-collapse-ckt-pay.more {
    background: url('../../assets/images/icon-ckt-pay.png') no-repeat -10px 0;
  }

  .icon-collapse-ckt-pay.coll {
    background: url('../../assets/images/icon-ckt-addr.png') no-repeat 0 -10px;;
  }

  .content-ckt-inventory {

  }

  .item-ckt-inventory {
    margin-top: 10px;
  }

  .left-item-inventory {
    float: left;
    width: 30%;
    padding-bottom: 10px;
    background-color: rgba(255, 253, 238, .5);
  }

  .right-item-inventory {
    float: left;
    width: 70%;
    padding-bottom: 10px;
    background-color: rgba(218, 240, 254, .6);
  }

  .title-item-inventory {
    height: 20px;
    line-height: 20px;
    margin-top: 10px;
    padding-left: 10px;
    text-align: left;
    font-weight: bold;
  }

  .title-item-inventory .store-name {
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 50%;
    a {
      color: #005ea7;
      &:hover { color: $color-main}
    }
  }

  .title-item-inventory .store-total {
    float: right;
    margin-right: 10px;
  }

  .title-item-inventory .store-total div {
    float: left;
    margin-right: 20px;
  }

  .title-item-inventory .store-total div i,
  .title-item-inventory .store-total div span {
    color: $color-main;
    font-weight: bold;
  }

  .content-item-inventory {
    margin-bottom: 10px;
  }

  .express-inventory {
    padding-bottom: 5px;
  }

  .time-express {
    margin-top: 20px;
    margin-left: 10px;
  }

  .time-express span {
    float: left;
  }

  .title-time-express {
    color: #999999;
  }

  .ckt-checkbox.express {
    float: left;
    width: 127px;
    margin-top: 10px;
    margin-left: 10px;
  }

  .ckt-checkbox.express:hover,
  .ckt-checkbox.express.selected {
    width: 125px;
    background-color: #fff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .edit-express {
    color: #005ea7;
    margin-left: 20px;
  }

  .hr-inventory {
    width: 268.8px;
    height: 1px;
    margin: 0 auto;
    background-color: #dddddd;
  }

  .discount-inventory {
    padding-bottom: 10px;
  }

  .item-discount-inventory {
    float: left;
    position: relative;
    width: 135px;
    background-color: $color-main;
    margin-top: 20px;
    margin-left: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px #ccc;
  }

  .item-discount-inventory.full {
    background-color: #cccccc;
    cursor: not-allowed;
  }

  .bottom-item-inventory {
    background-color: rgba(39, 169, 227, 0.3);
  }

  .item-bottom-item-inventory {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #ffffff;
    overflow: hidden;
  }

  .tag-item-bottom-inventory {

  }

  .tag-item-bottom-inventory >a {
    color: #ffffff;
    padding: 5px 10px;
    background-color: $color-main;
  }

  .price-item-bottom-inventory {
    margin-left: 10px;
    color: $color-main;
  }

  .name-item-bottom-inventory {
    margin-left: 10px;
  }

  .no-item-discount-inventory {
    text-align: center;
    margin-top: 10px;
  }

  .money-item-discount {
    height: 35px;
    line-height: 34px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
  }

  .lace-item-discount {
    width: 100%;
    height: 10px;
    position: relative;
    overflow: hidden;
  }

  .lace-discount {
    width: 200%;
    height: 10px;
    position: absolute;
    top: -6px;
    left: -5px;
  }

  .lace-discount i {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 100%;
    margin-right: 4px;
  }

  .detail-item-discount {
    width: 100%;
    height: 0;
    position: absolute;
    background-color: #ffffff;
    cursor: auto;
    overflow: hidden;
    z-index: 3;
    -webkit-box-shadow: 0 2px 15px #ccc;
    -moz-box-shadow: 0 2px 15px #ccc;
    box-shadow: 0 2px 15px #ccc;
    transition: all .2s;
  }
  .item-discount-inventory:hover .detail-item-discount {
    height: 70px
  }

  .detail-item-discount p {
    color: #777777;
    margin-left: 5px;
  }

  .detail-item-discount p.first {
    margin-top: 8px;
  }

  .select-discount {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .item-discount-inventory.selected .select-discount {
    display: block;
  }

  .bg-select-discount {
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
    border-bottom: 20px solid #ffffff;
    border-left: 25px solid transparent;
    z-index: 2;
  }

  .ea-icon-check {
    position: absolute;
    right: 1px;
    bottom: -4px;
    color: $color-main;
    z-index: 3;
    font-size: 12px;
  }

  .content-item-inventory.goods {
    margin: 10px;
  }
  .table-gooods-inventory{
    width:100%;
  }
  .table-gooods-inventory tr {
    border-top: 1px solid #ffffff;
  }

  .table-gooods-inventory tr:first-child {
    border-top: none;
  }

  .table-gooods-inventory td {
    text-align: center;
    padding: 5px;
  }

  .num-gooods-inventory {
    width: 50px;
    text-align: center;
  }

  .table-gooods-inventory .name-gooods-inventory {
    width: 300px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    a {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }
    .sku-spec {
      display: block;
    }
  }

  .img-gooods-inventory {
    position: relative;
    overflow: hidden;
  }

  .tag-goods-inventory {
    position: absolute;
    width: 100%;
    display: block;
    height: 15px;
    color: #ffffff;
    background-color: $color-main;
    top: 11px;
    left: 18px;
    z-index: 2;
    transform: rotate(36deg);
    font-size: 12px;
    text-align: center;
    line-height: 15px;
  }

  .tag-goods-inventory:hover,
  .tag-goods-inventory:focus {
    color: #ffffff;
  }

  .img-gooods-inventory img {
    height: 75px;
    width: 75px;
    padding: 5px;
    overflow: hidden;
  }

  .price-gooods-inventory,
  .subtotal-gooods-inventory {
    color: $color-main;
    font-weight: bold;
  }
  .price-goods-org {
    text-decoration-line: line-through;
    color: #ccc;
    font-weight: normal;
  }

  .bottom-ckt-inventory {
    display: flex;
    align-items: center;
    margin-top: 15px;
    clear: both;
    .el-input {
      width: 275px;
      margin-right: 15px;
    }
    .remark-tip { color: red }
  }

  .ckt-item.receipt {
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: none;
    .content-ckt .item {
      float: left;
      margin-left: 20px;
      &.edit-btn {
        margin-left: 20px;
        color: #005ea7;
      }
      &.cancel-btn {
        color: $color-main;
      }
    }
  }

  .ckt-checkbox.time {
    width: 125px;
    margin-left: 10px;
    float: left;
  }

  .ckt-checkbox.time:hover,
  .ckt-checkbox.time.selected {
    width: 123px;
  }

  .ckt-checkbox.content-receipt {
    float: left;
    width: 70px;
    margin-left: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .ckt-checkbox.content-receipt:hover,
  .ckt-checkbox.content-receipt.selected {
    width: 68px;
  }

  .ckt-total {
    min-height: 300px;
  }

  .details-ckt-total {
    float: right;
    padding: 0 20px;
  }

  .details-ckt-total li {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .title-details-ckt-total {
    width: 200px;
    float: left;
    margin-right: 80px;
    text-align: right;
  }

  .price-details-ckt-total {
    float: right;
    color: #333333;
  }

  .clear-details-ckt-total {
    clear: both;
  }

  .amounts-payable-ckt {
    float: right;
    padding: 10px 20px;
  }

  .summary-ckt-total {
    height: 40px;
    padding-top: 10px;
    background-color: #f5f5f5;
    overflow: hidden;
    clear: both;
  }

  .title-details-ckt-total.amounts {
    margin-right: 0;
  }

  .price-details-ckt-total.amounts {
    color: $color-main;
    font-size: 30px;
    font-weight: bold;
  }

  .address-info-ckt {
    clear: both;
    float: right;
    padding: 0 20px;
    color: #999999;
  }

  .ckt-total .bill_btn {
    display: block;
    font-size: 14px;
    font-weight: bold;
    width: 130px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    background-color: #27a9e3;
    float: right;
    margin: 20px 0;
    border-radius: 2px;
  }

  .ckt-total .bill_btn:hover {
    background-color: #26b5ec;
  }

  .receipt-dialog {
    width: auto;
  }

  .ckt-checkbox.content-receipt {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .remark-confirm-btn {
    height: 12px;
    line-height: 12px;
  }

  .gift-item-inventory {
    padding-left: 10px;
    color: $color-main;
    .gift-item {
      display: flex;
      align-items: center;
    }
    .gift-img {
      display: inline-block;
      width: 30px;
      height: 30px;
    }
    .gf-con.gift {
      line-height: 30px;
    }
  }
  .shop-act-info {
    padding-left: 10px;
    color: $color-main
  }
  .sku-act-tag {
    display: inline-block;
    padding: 0 5px;
    line-height: 15px;
    margin-right: 5px;
    border: 1px solid $color-main;
    color: $color-main
  }
  .goods-weight {
    color: #999;
    font-size: 12px;
    font-weight: normal;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  }
  .out-of-stock-tip {
    display: block;
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 75px;
    height: 20px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
  }
}
